package smcms.service.resources.Service;

import smcms.commons.api.entity.result.CommonsResult;
import smcms.service.resources.entity.Permission;
import smcms.service.resources.entity.Permissions;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ResourcesService {
    List<Permissions> getCurrentPermission();
    CommonsResult syncPermission();
    List<Permissions> getOwnPermission(String username);
    CommonsResult grantePermission(Permission permission);
}
